package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the JL_DOCTOR_ADVICE database table.
 * 
 */
@Entity
@Table(name="JL_DOCTOR_ADVICE")
@NamedQuery(name="JlDoctorAdvice.findAll", query="SELECT j FROM JlDoctorAdvice j")
public class JlDoctorAdvice implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="JL_DOCTOR_ADVICE_DAID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="JL_DOCTOR_ADVICE_DAID_GENERATOR")
	@Column(name="DA_ID")
	private long daId;//编号

	@Column(name="DA_ADVICE")
	private String daAdvice;//内容

	@Column(name="DA_KIND")
	private String daKind;//种类

	public JlDoctorAdvice() {
	}

	public long getDaId() {
		return this.daId;
	}

	public void setDaId(long daId) {
		this.daId = daId;
	}

	public String getDaAdvice() {
		return this.daAdvice;
	}

	public void setDaAdvice(String daAdvice) {
		this.daAdvice = daAdvice;
	}

	public String getDaKind() {
		return this.daKind;
	}

	public void setDaKind(String daKind) {
		this.daKind = daKind;
	}

}